﻿@model AplicacionBase.Models.Thesis

@{
    ViewBag.Title = "Edit";
}

<h2>Editar</h2>

<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)
    <fieldset>
        <legend>Tesis</legend>

        <div class="editor-label">
            @Html.LabelFor(model => model.IdStudies, "Study")
        </div>
        <div class="editor-field">
            @Html.DropDownList("IdStudies", String.Empty)
            @Html.ValidationMessageFor(model => model.IdStudies)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Title)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Title)
            @Html.ValidationMessageFor(model => model.Title)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Description)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Description)
            @Html.ValidationMessageFor(model => model.Description)
        </div>
        <div></div>
        <div>
            <input type="submit" value="Guardar" class="ebutton blue" />
        </div>
        <div>
          @Html.ActionLink("Regresar", "Index","", htmlAttributes: new { @class = "ebutton blue" })
    </div>
    </fieldset>
}


